<template>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        出入库记录管理
        <small>管理您仓库的出入库记录</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-table"></i> 出入库记录管理</a></li>
        <li class="active">出入库记录详情</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-xs-12">

          <div v-for="io in ioList" :key="io.id" class="box box-default" style="border-radius: 15px;position: relative">
            <img alt="1" src="../../../public/img/pendingorder.png"
                 style="width: 60px;margin-left: 10px;margin-top: 10px;border-radius: 5px"/>
            <span style="margin-left: 10px;font-size: large;font-weight: bold">出入库记录id：{{ io.id }}</span>
            <span style="position: absolute;left: 80px;top: 50px">时间：{{ io.time }}</span>
            <span style="position: absolute;left: 50vw;top: 80px">类型：{{ io.type }}</span>
            <span style="position: absolute;left: 50vw;top: 110px">货架名：{{ io.rackName }}</span>
            <span style="position: absolute;left: 50vw;top: 140px">供应商：{{ io.vendorsName }}</span>
            <div style="margin-left: 10px;margin-top: 10px">商品：{{ io.productName }}</div>
            <div style="margin-left: 10px;margin-top: 10px">数量：{{ io.count }}</div>
            <div style="margin-left: 10px;margin-top: 10px">负责员工：User0</div>
            <div>&nbsp;</div>
          </div>

        </div>
        <!-- /.col -->
      </div>
      <!-- /.row -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
</template>

<script>
export default {
  name: "IoData",
  data() {
    return {
      ioList: this.GLOBAL.appData.ioList
    }
  }
}
</script>

<style scoped>

</style>